# -*- coding: UTF-8 -*-
import os, sys

'''
exp： 相对
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
sys.path.append(BASE_DIR)

'''
# 基目录

base_dir = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
sys.path.append(base_dir)

# 配置文件
TEST_CONFIG = os.path.join(base_dir, "config", "config.conf")

# 测试用例模板文件
SOURCE_FILE = os.path.join(base_dir, "testdata", "APIcase.xlsx")

# 加载日志配置配置
Logging_PATH = os.path.join(base_dir, "log")
Logging_FILE = os.path.join(base_dir, "log", "logging.conf")

# 加载图片样式
LOADDING_PICTURE = os.path.join(base_dir, "resource", "img1.jpg")

# 文本
TEST_FILE_TEST = os.path.join(base_dir, "resource", "test.txt")
TEST_FILE_RUNNOB = os.path.join(base_dir, "resource", "runnob.txt")

# excel测试用例结果文件
# TARGET_FILE = os.path.join(BASE_DIR, "report", "excelReport", "DemoAPITestCase.xlsx")
# 测试用例报告
TEST_REPORT = os.path.join(base_dir, "report")
# 测试用例程序文件
# TEST_CASE = os.path.join(BASE_DIR, "testcase")
# 数据结果文件
TEST_RESULT = os.path.join(base_dir, "result")
